package com.thirdgroup.pojo.entity;

import java.io.Serializable;

/**
 * (Permission)实体类
 *
 * @author makejava
 * @since 2024-05-13 21:25:40
 */
public class Permission implements Serializable {
    private static final long serialVersionUID = 509183689274040979L;
    /**
     * 权限id
     */
    private Integer permissionId;
    /**
     * 权限名称
     */
    private String name;
    /**
     * 路径
     */
    private String url;
    /**
     * 父类id
     */
    private String parentId;
    /**
     * 类型 1-一级菜单 2-二级菜单
     */
    private Integer type;


    public Integer getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Integer permissionId) {
        this.permissionId = permissionId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Permission{" +
                "permissionId=" + permissionId +
                ", name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", parentId='" + parentId + '\'' +
                ", type=" + type +
                '}';
    }
}

